public class LittleMonkey extends Monkey implements FishInterface,BirdInterface{
    public LittleMonkey(String name) {
        super(name);
    }
    @Override
    public void swimming(){
        System.out.println(getName()+"也会游泳");
    }
    @Override
    public void flying(){
        System.out.println(getName()+"通过学习，也会飞翔");
    }

}
